const columns = {
    columns_no_charge: [
        {title: '序号', scopedSlots: {customRender: 'index'}, width: 50, fixed: 'left'},
        {title: '客户卡号', dataIndex: 'cardNo', width: 120, scopedSlots: {customRender: 'cardNo'}, fixed: 'left', ellipsis: true},
        {title: '客户姓名', dataIndex: 'name', width: 100, ellipsis: true},
        {title: '订单号', dataIndex: 'orderId', width: 120, ellipsis: true},
        {title: '订单状态', dataIndex: 'chargeState', scopedSlots: {customRender: 'chargeState'}, width: 100, ellipsis: true},
        {title: '总应付金额', dataIndex: 'totalPayableAmt', scopedSlots: {customRender: 'totalPayableAmt'}, width: 120, ellipsis: true},
        {title: '总成交金额', dataIndex: 'totalChargeAmt', scopedSlots: {customRender: 'totalChargeAmt'}, width: 120, ellipsis: true},
        {title: '开单时间', dataIndex: 'recordDate', width: 120, ellipsis: true},
        {title: '开单人', dataIndex: 'biller', width: 100, ellipsis: true},
        {title: '开发人', dataIndex: 'developer', width: 100, ellipsis: true},
        {title: '咨询师', dataIndex: 'consultMan', width: 100, ellipsis: true},
        {title: '操作', scopedSlots: {customRender: 'action'}, fixed: 'right', width: 140},
    ],
    columns_had_charge_item: [
        {title: '序号', scopedSlots: {customRender: 'index'}, width: 50, fixed: 'left'},
        {title: '客户卡号', dataIndex: 'cardNo', width: 120, scopedSlots: {customRender: 'cardNo'}, fixed: 'left', ellipsis: true},
        {title: '客户姓名', dataIndex: 'name', width: 100, ellipsis: true},
        {title: '订单号', dataIndex: 'orderId', width: 120, ellipsis: true},
        {title: '订单状态', dataIndex: 'chargeState', scopedSlots: {customRender: 'chargeState'}, width: 100, ellipsis: true},
        {title: '总成交金额', dataIndex: 'totalChargeAmt', scopedSlots: {customRender: 'totalChargeAmt'}, width: 120, ellipsis: true},
        {title: '总应付金额', dataIndex: 'totalPayableAmt', scopedSlots: {customRender: 'totalPayableAmt'}, width: 120, ellipsis: true},
        {title: '总已付金额', dataIndex: 'totalPaidAmt', scopedSlots: {customRender: 'totalPaidAmt'}, width: 120, ellipsis: true},
        {title: '总未付金额', dataIndex: 'totalUnpaidAmt', scopedSlots: {customRender: 'totalUnpaidAmt'}, width: 120, ellipsis: true},
        {title: '开单时间', dataIndex: 'recordDate', width: 130, ellipsis: true},
        {title: '收费时间', dataIndex: 'chargeDate', width: 130, ellipsis: true},
        {title: '开单人', dataIndex: 'biller', width: 120, ellipsis: true},
        {title: '收银员', dataIndex: 'rpMan', width: 120, ellipsis: true},
        {title: '开发人', dataIndex: 'developer', width: 100, ellipsis: true},
        {title: '咨询师', dataIndex: 'consultMan', width: 100, ellipsis: true},
        {title: '操作', scopedSlots: {customRender: 'action'}, fixed: 'right', width: 100},
    ],
    columns_had_charge_deposit: [
        {title: '序号', scopedSlots: {customRender: 'index'}, width: 50, fixed: 'left'},
        {title: '客户卡号', dataIndex: 'cardNo', width: 130, scopedSlots: {customRender: 'cardNo'}, fixed: 'left', ellipsis: true},
        {title: '客户姓名', dataIndex: 'name', width: 100, ellipsis: true},
        {title: '订单号', dataIndex: 'orderId', width: 120, ellipsis: true},
        {title: '订单状态', dataIndex: 'chargeState', scopedSlots: {customRender: 'chargeState'}, width: 100, ellipsis: true},
        {title: '预存金额', dataIndex: 'paidAmt', width: 120, ellipsis: true},
        {title: '赠送金额', dataIndex: 'freeAmt', width: 120, ellipsis: true},
        {title: '已收金额', dataIndex: 'totalChargeAmt', width: 120, ellipsis: true},
        {title: '开单时间', dataIndex: 'recordDate', width: 120, ellipsis: true},
        {title: '收费时间', dataIndex: 'chargeDate', width: 120, ellipsis: true},
        {title: '开单人', dataIndex: 'biller', width: 120, ellipsis: true},
        {title: '收银员', dataIndex: 'rpMan', width: 120, ellipsis: true},
        {title: '开发人', dataIndex: 'developer', width: 100, ellipsis: true},
        {title: '咨询师', dataIndex: 'consultMan', width: 100, ellipsis: true},
        {title: '备注', dataIndex: 'Remarks', width: 120, ellipsis: true},
        {title: '操作', scopedSlots: {customRender: 'action'}, fixed: 'right', width: 100},
    ],
    columns_refund: [
        {title: '序号', scopedSlots: {customRender: 'index'}, width: 50, fixed: 'left'},
        {title: '订单号', dataIndex: 'orderId', width: 120, scopedSlots: {customRender: 'cardNo'}, fixed: 'left', ellipsis: true},
        {title: '客户卡号', dataIndex: 'cardNo', width: 100, ellipsis: true},
        {title: '客户姓名', dataIndex: 'name', width: 100, ellipsis: true},
        {title: '总成交金额', scopedSlots: {customRender: 'totalPayableAmt'}, dataIndex: 'totalChargeAmt', width: 120, ellipsis: true},
        {title: '总应付金额', scopedSlots: {customRender: 'totalPayableAmt'}, dataIndex: 'totalPayableAmt', width: 120, ellipsis: true},
        {title: '总已付金额', scopedSlots: {customRender: 'totalPaidAmt'}, dataIndex: 'totalPaidAmt', width: 120, ellipsis: true},
        {title: '订单状态', dataIndex: 'chargeState', scopedSlots: {customRender: 'chargeState'}, width: 120, ellipsis: true},
        {title: '操作', scopedSlots: {customRender: 'action'}, fixed: 'right', width: 100},
    ],
    columns_had_refund_item: [
        {title: '序号', scopedSlots: {customRender: 'index'}, width: 50, fixed: 'left'},
        // { title: '账单数', dataIndex: 'cardNo1', width: 120, scopedSlots: { customRender: 'cardNo' },fixed:'left', ellipsis: true },
        {title: '客户卡号', dataIndex: 'cardNo', width: 100, ellipsis: true},
        {title: '咨询师', dataIndex: 'consultMan', width: 100, ellipsis: true},
        {title: '总应付金额', scopedSlots: {customRender: 'totalPayableAmt'}, dataIndex: 'totalPayableAmt', width: 120, ellipsis: true},
        {title: '总已付金额', scopedSlots: {customRender: 'totalPaidAmt'}, dataIndex: 'totalPaidAmt', width: 120, ellipsis: true},
        {title: '总成交金额', scopedSlots: {customRender: 'totalChargeAmt'}, dataIndex: 'totalChargeAmt', width: 120, ellipsis: true},
        {title: '总未付金额', scopedSlots: {customRender: 'totalUnpaidAmt'}, dataIndex: 'totalUnpaidAmt', width: 120, ellipsis: true},
        {title: '订单状态', dataIndex: 'chargeState', scopedSlots: {customRender: 'chargeState'}, width: 120, ellipsis: true},
        {title: '操作', scopedSlots: {customRender: 'action'}, fixed: 'right', width: 100},
    ],
    columns_had_refund_deposit: [
        {title: '序号', scopedSlots: {customRender: 'index'}, width: 50, fixed: 'left'},
        {title: '客户卡号', dataIndex: 'cardNo', width: 100, ellipsis: true},
        {title: '客户姓名', dataIndex: 'name', width: 100, ellipsis: true},
        {title: '订单号', dataIndex: 'orderId', width: 120, ellipsis: true},
        {title: '订单状态', dataIndex: 'chargeState', scopedSlots: {customRender: 'chargeState'}, width: 120, ellipsis: true},
        {title: '收款日期', dataIndex: 'chargeDate', width: 120, ellipsis: true},
        {title: '开单人', dataIndex: 'biller', width: 120, ellipsis: true},
        {title: '收银员', dataIndex: 'rpMan', width: 120, ellipsis: true},
        {title: '咨询师', dataIndex: 'consultMan', width: 100, ellipsis: true},
        {title: '销售员', dataIndex: 'developer', width: 120, ellipsis: true},
        {title: '摘要', dataIndex: 'abstract', width: 120, ellipsis: true},
        {title: '备注', dataIndex: 'remark', width: 120, ellipsis: true},
    ],
}
export default columns